<template>
    <div>
        <top-bar></top-bar>
        <public-nav></public-nav>
        <router-view></router-view>
        <public-footer></public-footer>
    </div>
</template>

<script>
    import TopBar from './public/TopBar.vue'
    import publicNav from './public/Nav.vue'
    import publicFooter from './public/footer.vue'
    export default {
        data () {
            return {

            }
        },
        created () {
            console.log([...[1, 1, 2, 34, 5], 3, 4.56, 6])
            console.log({ ...{ name: 'zxhuan', age: 25 }, job: '程序员' })
        },
        components: { TopBar, publicNav, publicFooter }
    }
</script>